<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="view/link.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>模板页面</title>

<style type="text/css">
      #tab_regist{
         border:1px solid blue;
         width: 600px;
         height:400px;
         border-collapse: collapse;
         margin:10px auto;
         margin-top:5px;
      }
      #tab_regist th,#tab_regist td{
           border:1px solid blue;
      }
      #span_page{
          color:blue;
      }
      #tab_regist td{
           text-align: left;
      }
</style>
</head>
<body>
         <span id="span_page">> 用户注册</span>
         <form  action="${pageContext.request.contextPath}/user/regist" method="post" enctype="multipart/form-data">
                <table id="tab_regist">
                     <tr>
                          <th>用户名称：</th><td><input type="text" name="uname"/><span id="span_uname"></span></td>
                     </tr>
                     <tr>
                          <th>用户密码：</th><td><input type="password" name="upwd"/><span id="span_upwd"></span></td>
                     </tr>
                     <tr>
                          <th>重复密码：</th><td><input type="password" name="reupwd"/><span id="span_reupwd"></span></td>
                     </tr>
                     <tr>
                          <th>用户性别：</th>
                          <td>
                                                                             男:<input type="radio" name="usex" value="男"  checked="checked"/>  |
                                                                             女:<input type="radio" name="usex" value="女" />
                          </td>
                     </tr>
                     <tr>
                          <th>用户头像：</th><td><input type="file" name="uphoto"/><span id="span_uphoto"></span></td>
                     </tr>
                     <tr>
                          <th  colspan="2">
                               <input type="reset" value="重写"/> &nbsp; &nbsp; &nbsp; &nbsp;
                               <input type="submit" value="注册"/>
                          </th>
                     </tr>
                </table>
         </form>
</body>
</html>